/*
 * portdef.h
 *
 * Created: 29.08.2012 16:28:25
 *  Author: Jens
 */ 


#ifndef PORTDEF_H_
#define PORTDEF_H_

//Definition PORTB
#define CKOUT PORTB0
#define B_SD PORTB1 
#define B_IN PORTB2 
#define MOSI PORTB3 
#define MISO PORTB4 
#define SCK PORTB5 
#define XTAL1 PORTB6 
#define XTAL2 PORTB7

#define DDRB_INIT 0b00000111

//Definition PORTC
#define I_B PORTC0
#define U_C PORTC1
#define U_B PORTC2
#define U_A PORTC3
#define I2C_SDA PORTC4
#define I2C_SCL PORTC5
#define RESET PORTC6

#define DDRC_INIT 0b00000000

//Definition PORTD
#define RxD PORTD0
#define TxD PORTD1
#define NC PORTD2
#define C_IN PORTD3
#define C_SD PORTD4
#define A_SD PORTD5
#define U_STERN PORTD6
#define A_IN PORTD7


#define DDRD_INIT 0b10111000


#endif /* PORTDEF_H_ */